<?php include "admin_sess.php"; ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Education 1</title>
<!--// Stylesheet //-->
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/ddsmoothmenu.css" rel="stylesheet" type="text/css" />
<link href="css/jquery.fancybox-1.3.1.css" rel="stylesheet" type="text/css" />
<!--// Javascript //-->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<script type="text/javascript" src="js/contentslider.js"></script>
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/Tahoma_5F400-Tahoma_700.font.js"></script>
<script type="text/javascript">Cufon.replace('h1, h2, h3, h4, h5, h6, .cufontxt');</script>
<script type="text/javascript" src="js/jquery.fancybox-1.3.1.js"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<script type="text/javascript" src="js/animatedcollapse.js"></script>
<script type="text/javascript" src="js/collapse.js"></script>
<!--[if lte IE 7]><style>.gallery .buttons{padding-left:300px; width:640px;}.gallery .buttons a{float:left;}</style><![endif]--><!-- that's IT-->
<style type="text/css">
#develop {
	color: #FFF;
	font-size: 14px;
}
</style>
</head>
<body class="subpage">
<!-- Wrapper -->
<div id="wrapper_sec">
	<!-- Header -->
    <div id="masthead" class="smallhead">
        <!-- Top Section -->
        <div class="topsec">
            <div class="inner">
                
          
            </div>
        </div>
        <div class="clear"></div>
        <!-- Small Banner -->
        <div class="smallbanner">
            <div class="inner">
                <div class="logo">
                	<a href="index.html"><img src="images/logo.png" alt="" /></a>
                </div>
            </div>
        </div>
        <div class="clear"></div>
        <!-- Navigation -->
        <div class="navigation">
        	<div class="inner">
        		<div id="smoothmenu1" class="ddsmoothmenu">
                    <ul>
                        <li><a href="home admin.php">Home</a></li>
                        <li class="down"><a href="student.php">Student</a>
                        <ul>
                                <li><a href="student info.php">Student Diploma</a></li>
                                <li><a href="student info short.php">Short Cource</a></li>
                                <li><a href="student academic.php">Add Student Academic Info</a></li>
                                <li><a href="student subject.php">Student Enrolled Subject</a></li>
                                <li><a href="student edit.php">Update</a></li>
                                
                            </ul>  </li>
                        <li class="down"><a href="teacher.php">Teacher</a>
                            <ul>
                                <li><a href="add teacher.php">Add Teacher</a></li>
                                <li><a href="teacher edit.php">update</a></li>
                                <li><a href="update teacher.php">Add Teacher</a></li>
                             
         						</ul>
                        </li>
                        <li class="down"><a href="campus.php">Campus</a>
                            <ul>
                                <li><a href="add campus.php">Add Campus</a></li>
                                <li><a href="add department.php">Add Department</a></li>
                                <li><a href="add class.php">Add Class</a></li>
                                <li><a href="add subject.php">Add Subject</a></li>
                                <li><a href="add short cources.php">Add Short Cources</a></li>
                                <li><a href="add year.php">Add Year</a></li>
                                <li><a href="add academic session.php">Add Academic Session</a></li>
                                <li><a href="edit campus.php">Update</a></li>
                                
                            </ul>
                        </li>
                        <li><a href="student test.php">Student Test</a>
                        <ul>
                                <li><a href="1monthly test.php">Monthly Test</a></li>
                                <li><a href="1send up.php">Send Up</a></li>
                                <li><a href="1board.php">Board</a></li>
                                <li><a href="student test edit.php">Update</a></li>
                                
                                
                            </ul>
                        
                     </li>
                        <li class="down"><a href="check profile.php">User accounts</a>
                            <ul>
                                <li><a href="create student account.php">Create Student Account </a></li>
                                <li><a href="create teacher account.php">Create Teacher Account</a></li>
                                <li><a href="check profile admin.php">Profile</a></li>
                                <li><a href="change password admin.php">Change Password</a></li>
                                
                                <li><a href="check profile edit.php">Update</a></li>
                            </ul>
                        </li>
                        <li class="down"><a href="attendence.php" class="last">Attendence</a>
                            <ul>
                                <li><a href="student attendence.php">Student Attendence</a></li>
                                <li><a href="teacher attendence.php">Teacher Attendence</a></li>
                                <li><a href="attendence edit.php">Update</a></li>
                                
                            </ul>
                        </li>
                    </ul>
                    <div class="clear"></div>
                </div>
                <ul class="loginsec">
                	
                    <li><a href="logout.php"  class="buttonone">Logout</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="clear"></div>
    <!-- Content Section -->
    <div id="content_sec">
    	<div class="inner">
        	<!-- Bread Crumb -->
        	<div class="clear">
              <table width="100%" border="0">
                <tr>
                  <td><table width="100%" border="0">
                    <tr>
                      <td align="center"><p><strong>Edit Student Subject Info</strong></p>
                        <p>&nbsp;</p>
                        <table width="70%" border="1">
                        <tr align="center">
                          <td><strong>Student Subject ID</strong></td>
                          <td><strong> Roll No</strong></td>
                          <td><strong>Session ID</strong></td>
                          <td><strong>Subject ID</strong></td>
                          <td><strong>Class ID</strong></td>
                          <td><strong>Update</strong></td>
                        </tr>
                        <?php include "connect.php";
 $sql="select * from student_subject";
 $result=mysql_query($sql);
 while($row = mysql_fetch_array($result))
  
 {?>
                        <tr align="center">
                          <td><?php echo $row['ss_id'];?></td>
                          <td><?php echo $row['roll_no'];?></td>
                          <td><?php echo $row['session_id'];?></td>
                          <td><?php echo $row['subject_id'];?></td>
                          <td><?php echo $row['class_id'];?></td>
                          <td><a href="update student subject1.php?ss_id=<?php echo $row['ss_id']; ?>"><strong>Update</strong></a></td>
                          <?php } ?>
                        </tr>
                      </table></td>
                    </tr>
                  </table></td>
                </tr>
              </table>
            </div>
        	<!-- Column 3 -->
   	    <div class="clear"></div>
            <!-- Affiliations -->
            <div class="clear"></div>
        </div>
    </div>
    <div class="clear"></div>
    <!-- Footer -->
    <div id="footer">
    <div class="clear"></div>
        <div class="copy_inner">
        	<p><table width="100%" border="0">
  <tr>
    <td align="center" bgcolor="#5085C7" id="develop">Developed by Compact Sols</td>
  </tr>
</table>
</p>
            
           
            <a href="#" class="top">Top</a>
        </div>
    </div>
</div>
</body>
</html>
